import yaml


def read_yaml(yaml_path):
    with open(yaml_path, encoding="utf-8") as f:
        result = yaml.safe_load(f)
        return result


result = read_yaml("D:\\my_pythonProject\\my_web_test_project\\resources\\data\\config.yaml")
print(type(result))


